find the slope of a line from an equation